<html xmlns="http://www.w3.org/1999/xhtml">    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
        <title>注册</title>
    </head>
    <body>
        {% include 'message.html' %}
        <h1>注册</h1>
    {% if user.is_authenticated %}
        <p>您已经登陆</p>
    {% else %}
        <p>已有帐号，请<a href="{% url acct_login %}">登录</a>!</p>
        
        <form id="signup_form" method="post" action="{% url acct_signup %}">
            <fieldset>
                {{ form.as_p }}
                <input type="submit" value="注册" />
            </fieldset>
        </form>
    {% endif %}
    </body>
    
</html>